import sys
import os
import time
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
libspath = os.path.normpath(os.path.dirname(os.path.abspath(__file__))+"/libs")
sys.path.append(libspath)
import html_lib
import libs.html_lib
# 待解析的网站地址链接列表.
listurl = []
# 循环解析目标网址.
for url in listurl:
    htmlObj:libs.html_lib.HTMLBYLIBS  = html_lib.HTMLBYLIBS(url)
    htmlObj.parse()
    # 间隔1秒,防止使目标网站以为是ddos攻击.
    time.sleep(1)

